package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class MemberClient {
    private Long id;

    private String cardNumber;
    //充值或者扣款
    private String payment;
    //支付方式
    private String operation;
    //支付前剩余总金额
    private Long amount;
    //充值金额
    private Long recharge;
    //赠送金额
    private Long presenter;
    //充值时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date rechargeDate;
    //备注
    private String remark;
    //充值后的总金额
    private Long totalAmount;


}